package com.cupk.wudi.practice.apidemo.service;

import com.cupk.wudi.practice.apidemo.entity.Animal;

import java.util.List;

public interface AnimalService {

    public List<Animal> getByType(String type);
    public Animal getByName(String name);
    public Integer addAnimal(Animal animal);
    public Integer deleteAnimalByIDs(String animal);
    public Integer updateAnimal(Animal animla);
}
